package com.thunder.rebot.rebotclient.vam.utils;

public class WebUtils {
	public final static String JSONKEY_DATA_TS = "pts";
	public final static String JSONKEY_METADATA_OBJECTS = "objects";
	/* package */  static final int SHAPE_INCLUDE = 0;
	/* package */  static final int SHAPE_EXCLUDE = 1;
	/* package */  static final int SHAPE_LINE_ANY = 2;
	/* package */  static final int SHAPE_LINE_DIR = 3;
	public final static String JSONKEY_OBJ_ID = "objectId";
	public final static String 	JSONKEY_OBJ_TYPE = "objectType";
	public final static String JSONKEY_OBJ_NAME = "eventName";
	public final static String JSONKEY_OBJ_X = "posX";
	public final static String JSONKEY_OBJ_Y = "posY";
	public final static String JSONKEY_OBJ_WD = "posWidth";
	public final static String JSONKEY_OBJ_HT = "posHeight";
	public final static String JSONKEY_DATA_RESERVE_STRARR = "reserve_str";
	// vam event info
	public final static String JSONKEY_VAMEVT_TYPE = "eventType";

	public final static String JSONKEY_JPEG_DATA = "Data";

	/* package */final static String JSONVALUE_ERROR_NONE = "none";

	public static final int EVENT_TYPE_IT = 1; // IPC tampering, camera is
												// covered, blurry, or moved
	public static final int EVENT_TYPE_MD = 2; // Motion is detected in the zone
	// public static final int EVENT_TYPE_LINE_CROSSED = 3;//An object crossed a
	// line
	public static final int EVENT_TYPE_INTRUSION = 4;//An object intrude an include zone
	public static final int EVENT_TYPE_OBJECT_CNT = 5; //An object is counted when in a zone or cross a line
	public static final int EVENT_TYPE_LOITERING = 6;//An object stays in a zone for a certain period
	// zone for a certain period
	public static final int EVENT_TYPE_FD = 7; // face detection
	public static final int EVENT_TYPE_FR = 8; // face reco
	// public static final int EVENT_TYPE_OBJECT_CLASSIFIED = 9;
	// public static final int EVENT_TYPE_OBJECT_DETECTED = 10;

	// public static final int OBJECT_TYPE_PEOPLE = 1;
	// public static final int OBJECT_TYPE_VEHICLE = 2;
	public static final int OBJECT_TYPE_FACE = 3;

	/* package */static final int FORMAT_YV12 = 1;
	/* package */static final int FORMAT_NV12 = 2;
	/* package */static final int FORMAT_NV21 = 3;
	/* package */static final int FORMAT_YUVJ420P = 4;
	/* package */static final int FORMAT_YUVJ422P = 5;
	/* package */static final int FORMAT_YUVJ444P = 6;
	public static final int FORMAT_GRAY8 = 7;
	public static final int FORMAT_RGB24 = 8;
	
	//network modeSelect
	public static final int NETWORK_MODE_DHCP = 0;
	public static final int NETWORK_MODE_STATIC = 1;
}
